package com.enjoyor.soa.traffic.core.tsms.mapper.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.enjoyor.soa.traffic.core.tsms.constant.AssessItemsSqlId;
import com.enjoyor.soa.traffic.core.tsms.constant.CommonRouteSqlId;
import com.enjoyor.soa.traffic.core.tsms.domain.AssessItems;
import com.enjoyor.soa.traffic.core.tsms.domain.CommonRoute;
import com.enjoyor.soa.traffic.core.tsms.mapper.IAssessItemsMapper;
import com.enjoyor.soa.traffic.frame.support.mybatis.mapper.impl.BaseMapper;
import com.enjoyor.soa.traffic.util.pojo.Page;


@Service
@Transactional
public class AssessItemsMapper extends BaseMapper<AssessItems> implements IAssessItemsMapper {

	@Override
	public Page getAssessItemsPage(Page page) {
		// TODO Auto-generated method stub
		return this.selectPageInfo(getSqlName(AssessItemsSqlId.SQL_SELECT_ALL), page);
	}

	@Override
	public List<AssessItems> getAssessItemsList(){
		// TODO Auto-generated method stub
		return sqlSessionTemplate.selectList(getSqlName(AssessItemsSqlId.SQL_SELECT_LIST));
	}

}
